package java007;

public class code7071 {
	public static void main(String[] args) {
		double[] nums = {34.2,45.6,87.3,-98.2,123};
		double min =nums[0];
		for (int i = 1; i < nums.length; i++) {
			if(nums[i]<min){
			min=nums[i];
			}
			System.out.println(min);
		}
	}

}
